package net.lzzy.practices.services;


import net.lzzy.practices.constants.Messages;
import net.lzzy.practices.entities.Chapter;

import java.util.List;
import java.util.UUID;

/**
 * @author HUAWEI
 */
public interface ChapterService {
    List<Chapter> getTeachersChapters(UUID courseId);
    List<Chapter> getStudentsChapters(UUID courseId);
    Chapter getById(UUID id);
    Chapter add(Chapter chapter);
    Chapter update(Chapter chapter,String token);
    Chapter openCloseChapter(UUID id,boolean open,String token);
    Messages remove(UUID chapterId, UUID courseId,String token);
}
